03. HTTP and Response Codes
HTTP and Response Codes
Errata: At 1:05 in the above video, the instructor states that a 301
status code is used for a successful POST request. The 301
status code is a permanent redirect, used to send a browser to a different URL. More common status codes for a successful POST are 200
, 201
, and 303
. For much more information, see MDN on HTTP status codes.